package com.yeyks.vip.dal.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * vip开放城市
 * </p>
 *
 * @author yun
 * @since 2019-12-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="VipOpenCity对象", description="vip开放城市")
public class VipOpenCity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "序号")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "城市名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "经度")
    @TableField("lnt")
    private String lnt;

    @ApiModelProperty(value = "纬度")
    @TableField("lat")
    private String lat;

    @ApiModelProperty(value = "标题")
    @TableField("title")
    private String title;

    @ApiModelProperty(value = "描述")
    @TableField("description")
    private String description;

    @ApiModelProperty(value = "图片")
    @TableField("image")
    private String image;

    @ApiModelProperty(value = "城市拼音")
    @TableField("pinyin")
    private String pinyin;

    @ApiModelProperty(value = "是否启用，0未启用,1启用")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "热门，0不是，1是")
    @TableField("hot")
    private Integer hot;

    @ApiModelProperty(value = "创建日期")
    @TableField("gmt_create")
    private Date gmtCreate;


    public static final String ID = "id";

    public static final String NAME = "name";

    public static final String LNT = "lnt";

    public static final String LAT = "lat";

    public static final String TITLE = "title";

    public static final String DESCRIPTION = "description";

    public static final String IMAGE = "image";

    public static final String PINYIN = "pinyin";

    public static final String STATUS = "status";

    public static final String HOT = "hot";

    public static final String GMT_CREATE = "gmt_create";

}
